package org.ch03.job.test03;

/**
 * @author XCH
 * @date 2025 - 03 - 26
 */
public class Tiger extends Animal implements ICall , Docile {

    private boolean tame;

    public Tiger(boolean tame) {
        this.tame = tame;
    }

    @Override
    public void call() {
        System.out.println("老虎叫");
    }

    @Override
    public boolean isTame() {
        return this.tame;
    }
}
